package com.suray.wcs.service.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.suray.commin.annotation.Excel;
import com.suray.commin.core.utils.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author cooper
 * @since 2019-06-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wcs_task_detail")
public class TaskDetailDB extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "detail_id", type = IdType.AUTO)
    @Excel(name = "详情ID", cellType = Excel.ColumnType.NUMERIC, prompt = "详情ID")
    private Integer detailId;

    @Excel(name = "任务ID", cellType = Excel.ColumnType.NUMERIC, prompt = "任务ID")
    private Integer taskId;

    @Excel(name = "任务进度")
    private String process;

    @Excel(name = "父节点")
    private String parentId;

    @Excel(name = "起点")
    private String start;

    @Excel(name = "终点")
    private String ending;

    @Excel(name = "状态")
    private Integer status;

    @Excel(name = "设备信息")
    private String deviceInfo;

    @Excel(name = "操作")
    private String operation;

    private String uuid;

}
